﻿@model _2._18._2015_MoviesInClass.Models.MovieListViewModel
@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<div class="row">
    <div class="col-md-12">
        @foreach (var m in Model.Movies)
        {
            <div>@m.Title - @Html.ActionLink("Edit Actors", "EditMovieActors", new { Id = @m.MovieId })</div>
        }
    </div>
</div>